home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / l11u01.zip / LPTSTAT.PAT < prev    next >
Text File  |  1992-11-16  |  1KB  |  34 lines

  1. TARGET=C:\NWLITE\SERVER.EXE
  2. LIST
  3.     print "LPTSTAT.PAT - NetWare Lite v1.1 Server LPT printer status fix patch.\n"
  4. VERIFY
  5.     va = search ( E9 F5 09 90 90 F6 C4 20 58 75
  6.                   09 checksum 5B7 )
  7.     vb = search ( F6 C4 08 75 0D F6 C4 10 74 08
  8.                   F6 C4 80 74 03 E9 11 F6 E9 F8
  9.                   F5 checksum C01 )
  10.     if ( (va=4D8E) AND (vb=5786) ) then
  11.         print "  $TARGET already contains patch LPTSTAT.PAT.\n"
  12.         stop
  13.     else
  14.         print "  $TARGET does not contain patch LPTSTAT.PAT.\n"
  15.     endif
  16. APPLY
  17.     print "  Applying patch LPTSTAT.PAT to $TARGET...\n"
  18.     vc = search ( F6 C4 80 75 16 F6 C4 20 58 75
  19.                   09 checksum 575 )
  20.     if vc=4D8E then
  21.         patch 4D8E ( E9 F5 09 90 90 checksum 307 )
  22.         patch 5786 ( F6 C4 08 75 0D F6 C4 10 74 08
  23.                      F6 C4 80 74 03 E9 11 F6 E9 F8
  24.                      F5 checksum C01 )
  25.         write
  26.         print "  $TARGET now contains patch LPTSTAT.PAT.\n"
  27.         stop
  28.     else
  29.         print "  Could not find pattern indicating that $TARGET\n"
  30.         print "  needs this patch.  Make sure you are using this\n"
  31.         print "  patch with NetWare Lite SERVER.EXE, version 1.1 \n"
  32.         stop
  33.     endif
  34.